package teleradiologia.service;

import java.util.List;

import teleradiologia.domain.Person;
import teleradiologia.domain.Radiologylab;
import teleradiologia.domain.Technician;
import teleradiologia.repository.TechnicianDao;

public interface TechnicianManipulator {
	// simple CRUD operations
	Technician getByNip(String nip);		 // read
	void update(Technician technician);	 // update
	void delete(Technician technician);	 // delete

	// IoC - setter
	public void setTechnicianDao(TechnicianDao technicianDao);
	String create(Technician technician, Person person,
			Radiologylab radiologylab);
	Technician geByIdPerson(long idPerson);
	public List<Technician> getAll();
	public List<Technician> getAllByKrsnumber(String krsnumber);
}
